package com.neudu.yyzx_service.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.neudu.yyzx_service.pojo.Outward;
import com.neudu.yyzx_service.service.OutwardService;
import com.neudu.yyzx_service.mapper.OutwardMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author asus
* @description 针对表【outward】的数据库操作Service实现
* @createDate 2025-04-28 14:56:48
*/
@Service
public class OutwardServiceImpl extends ServiceImpl<OutwardMapper, Outward>
    implements OutwardService{
    @Autowired
    private OutwardMapper outwardMapper;
    public List<Outward> selectAllOutStatus(){
        return outwardMapper.selectAllOutStatus();
    }

    public List<Outward> getIsinerCustomer(Integer type){
        return outwardMapper.getIsinerCustomer(type);
    }

    public List<Outward> getOutRecord_by(Outward Outward){
        return outwardMapper.getOutRecord_by(Outward);
    }

    public Integer addOutRecord(Outward outward){
        return outwardMapper.addOutRecord(outward);
    }

    public Integer setReturnTime(Outward outward){
        return outwardMapper.setReturnTime(outward);
    }

}




